package com.gwnet.shop.domain.bo;

import java.util.List;

/**
 * 生成订单时 用来封装前台传递的订单相关的信息
 * 比如用户信息
 * 收货地址信息
 * 购买商品 及 规格 及对应购买数量等
 */
public class OrderInfoBo {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 地址id
     */
    private Long addressId;

    /** 用户留言 */
    private String postscript;

    /** 商户Id */
    private Long tenantId;

    private Double totalPackageMoney;

    private Double deliverAmount;

    private Double goodsAmount;

    /**
     * 商品规格id 及 对应 的购买数量
     */
    private List<SpecGroupBo> list;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public String getPostscript() {
        return postscript;
    }

    public void setPostscript(String postscript) {
        this.postscript = postscript;
    }

    public Double getTotalPackageMoney() {
        return totalPackageMoney;
    }

    public void setTotalPackageMoney(Double totalPackageMoney) {
        this.totalPackageMoney = totalPackageMoney;
    }

    public Double getDeliverAmount() {
        return deliverAmount;
    }

    public void setDeliverAmount(Double deliverAmount) {
        this.deliverAmount = deliverAmount;
    }

    public Double getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Double goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public List<SpecGroupBo> getList() {
        return list;
    }

    public void setList(List<SpecGroupBo> list) {
        this.list = list;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}


